package com.yxq.mdt.app.modules.socialcontact.adapter;


import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yxq.mdt.app.R;
import com.yxq.mdt.app.glide.GlideHelper;
import com.yxq.mdt.app.modules.socialcontact.bean.GroupTopicListBean;

import java.util.List;

public class CommentStateContactCircleAdapter extends BaseQuickAdapter<GroupTopicListBean.TopicFileListBean, BaseViewHolder> {
    public CommentStateContactCircleAdapter(int layoutResId, @Nullable List<GroupTopicListBean.TopicFileListBean> data) {
        super(layoutResId, data);
    }


    @Override
    protected void convert(BaseViewHolder helper, GroupTopicListBean.TopicFileListBean item) {
        GlideHelper.setLoadImage(mContext, item.getFile(), R.color.gray, helper.getView(R.id.panic_tv_count_img));
    }
}
